package com.hairline.hairlinemarket.service;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Author:杨小凯
 * Date:2023-04-21 7:30
 * Description:<描述>
 */
@Transactional
public interface GoodsProductService {
    List queryByGoodsId(Integer id);

    boolean updateStock(Integer userId,Integer goodsId, Integer number, Integer productId);

    void updateAddStock(Integer id, List<Integer> productIds);
}
